package br.com.mobimenu.persistence.filter.impl;

import br.com.mobimenu.model.impl.Usuario;

public class FiltroUsuario extends FiltroGeneric<Usuario> {

	private static final long serialVersionUID = 7226080440451490692L;

	public static final String NOME = "nome";
	public static final String USERNAME = "username";
	public static final String PASSWORD = "password";
	public static final String EMAIL = "email";
	public static final String SISTEMA = "sistema";

	private String nome;
	private String username;
	private String password;
	private String email;

	public FiltroUsuario() {
		super("u");
	}

	public String getEmail() {
		return this.email;
	}

	public String getNome() {
		return this.nome;
	}

	public String getPassword() {
		return this.password;
	}

	public String getUsername() {
		return this.username;
	}

	public void limparCampos() {
		this.setUsername(null);
		this.setNome(null);
		this.setPassword(null);
		this.setEmail(null);
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setUsername(String username) {
		this.username = username;
	}


}
